<?php
$datas = array();

// 秀美论坛，提示短信不够
$datas[] = array(
	'type'=>'matchComplex',
	'cookie'=> 'xiumei.cookie',
	'match'=> array(
		'url'=> 'http://bbs.xiumei.com/member.php',
		'data'=> 'mod=register.php',
		'attributes'=> array('formhash'=>"#\<input.*?name\=\"formhash\".*?value\=\"(.*?)\"#")
	),
	'referer'=> 'http://bbs.xiumei.com',
	'list'=> array(
		array(
			'url'=>'http://bbs.xiumei.com/plugin.php',
			'data'=>'id=smstong:verifycode&idhash=Sx74q6t0&formhash={$formhash}&seccodeverify=&inajax=yes&infloat=register&handlekey=register&ajaxmenu=1&action=checkmobile&mobile={$mobile}&{$rand}',
		),
		array(
			'url'=>'http://bbs.xiumei.com/plugin.php',
			'data'=>'id=smstong:verifycode&idhash=Sx74q6t0&formhash={$formhash}&seccodeverify=&inajax=yes&infloat=register&handlekey=register&ajaxmenu=1&action=getregverifycode&mobile={$mobile}&{$rand}'
		),
	)
);


// 百姓网 模拟未成功，有httponly cookie
$datas[] = array(
	'type'=>'complex',
	'cookie'=> 'baixing.cookie',

		array(
			'url'=>'http://beijing.baixing.com',
			'data'=>'',
			'log'=> false
		),
		array(
			'url'=>'http://beijing.baixing.com/oz/verify/x/reg',
			'data'=>'',
			'log'=> false
		),
		array(
			'url'=>'http://beijing.baixing.com/oz/verify/x/reg',
			'data'=>'mobile={$mobile}',
		),
	)
);

// 19楼
$datas[] = array(
	'type'=>'matchComplex',
	'match'=> array(
		'url'=> 'http://www.19lou.com/register',
		'data'=> '',
		'attributes'=> array('token'=>"#\<input.*?name\=\"([a-f\d]+)\".*?value\=\"([a-f\d]+)\"#")
	),
	'referer'=> 'http://www.19lou.com',
	'cookie'=> '19lou.cookie',
	'list'=> array(
		array(
			'url'=>'http://www.19lou.com/register/checkname',
			'data'=>'name={$millisecond}_x&{$millisecond}'
		),
		array(
			'url'=>'http://www.19lou.com/register',
			'data'=>'regType=mobile&{$_keyname_token}={$token}&lifeStage=1&name={$millisecond}_x&pwd=aa111111&rePwd=aa111111&isAgree=1&refererUrl=aHR0cDovL3d3dy4xOWxvdS5jb20v',
			'post' => true
		),
		array(
			'url'=>'http://www.19lou.com/util/capture/mobile',
			'data'=>'phone={$mobile}&optype=active&smsType=0'
		),
	)
);
/*
有短信功能，提示 too fast much send
http://www.hongniang.com/?mod=register

新网站，待实现

*/
